/**
 * 
 */
package com.chinasofti.project.web.form;

import java.math.BigDecimal;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import com.chinasofti.project.common.web.BaseForm;

/**
 * @author liuji
 *
 */
public class MoneyManageForm extends BaseForm {

	@NotBlank(message = "金额不能为空")
	private BigDecimal userBalance;

	@NotBlank(message = "支付密码不能为空")
	@Length(min = 6, max = 16, message = "支付密码的长度应该在{min}与{max}之间")
	private String userPayPassword;

	public BigDecimal getUserBalance() {
		return userBalance;
	}

	public void setUserBalance(BigDecimal userBalance) {
		this.userBalance = userBalance;
	}

	public String getUserPayPassword() {
		return userPayPassword;
	}

	public void setUserPayPassword(String userPayPassword) {
		this.userPayPassword = userPayPassword;
	}
	
	
}
